package com.example.springboot.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class RouteDTO {
    private Long id;
    private String title;
    private String description;
    private Integer duration;
    private BigDecimal price;
    private String imageUrl;
    private String theme;
    private String difficulty;
    private String suitable;
    private List<String> features;
    private Integer bookCount;
    private Boolean isHot;
    private List<String> itinerary;
    private List<Long> destinations;
    
    // 用于详情页的额外字段
    private List<String> gallery;
    private BigDecimal rating;
    private Integer reviewsCount;
    private List<ItineraryDTO> itineraries;
    private String trafficInfo;
    private String accommodationInfo;
    private String foodInfo;
    private String equipmentTips;
    private Integer difficultyLevel;
    private String physicalRequirement;
    private DestinationInfo destinationInfo;
    
    @Data
    public static class ItineraryDTO {
        private Integer dayNumber;
        private String title;
        private String description;
        private List<String> highlights;
    }
    
    @Data
    public static class DestinationInfo {
        private Long id;
        private String name;
        private String imageUrl;
        private String description;
        private BigDecimal rating;
        private Integer visits;
    }
}